package com.tongji.housediy.controller.CantavilCMD
{
	import com.tongji.housediy.events.CantavilEvent.GetCantavilEvent;
	import com.tongji.housediy.model.CantavilModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/6/27
	 */ 
	public class UpdateCantavilCommand extends Command
	{
		[Inject]
		public var model:CantavilModel;
		
		[Inject]
		public var event:GetCantavilEvent;
		
		override public function execute():void
		{
		    model.updateCantavil(event.tempCantavils);
		}
	}
}